home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
tcp
/
mufs_telnetd.lha
/
telnetd2_0.lha
/
telnetd-2.0
/
source
/
smakefile
< prev
next >
Wrap
Makefile
|
1995-04-13
|
1KB
|
73 lines
#
# smakefile for telnetd
#
# created by Peter Simons <simons@peti.rhein.de>
#
#
# Labels:
# =======
#
# Compiler flags:
# ===============
#
# Define one of the following symbols to archive the described effect:
#
# DEBUG - compile a version with debugging info included
# USE_INETD - compile a version that has to be started by inetd rather
# than by TnServ
#
CFLAGS = DEFINE=USE_INETD #DEFINE=DEBUG
# Linker flags:
# =============
#
LFLAGS =
#
# Targets
#
all: TnServ telnetd NoReq telnetd.guide
# default target
#
# Actions
#
.c.o:
sc $(CFLAGS) $*.c
TnServ_rev.h: rcs/TnServ.c
rcsrev TnServ TnServ.c
TnServ: TnServ.o
sc $*.o TO $* $(LFLAGS) LINK LIB netlib:net.lib
@Delete $*.lnk QUIET
telnetd_rev.h: rcs/telnetd.c
rcsrev telnetd telnetd.c
telnetd: telnetd.o
sc $*.o TO $* $(LFLAGS) LINK NOSTARTUP
@Delete $*.lnk QUIET
telnetd.guide: telnetd.texinfo
makeinfo --amiga-39 --fill-column 75 $*.texinfo
NoReq: NoReq.o
sc $*.o TO $* $(LFLAGS) LINK NOSTARTUP STRIPDEBUG
@Delete $*.lnk QUIET
tex:
virtex &tex telnetd.texinfo
install: telnetd
slink telnetd TO AmiTCP:serv/telnetd NODEBUG
#
# Dependencies
#
telnetd.o: telnetd.c telnetd_rev.h
TnServ.o: TnServ.c TnServ_rev.h
NoReq.o: NoReq.c